package com.mysiteforme.admin.dao;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.mysiteforme.admin.entity.ElectricityUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author wangl
 * @since 2019-09-18
 */
public interface ElectricityUserDao extends BaseMapper<ElectricityUser> {
    List<ElectricityUser> selectPageList(@Param("page") Integer page,@Param("limit") Integer limit);
    List<ElectricityUser> selectPageLists(@Param("page") Integer page,@Param("limit") Integer limit,@Param("userId") String userId,
                                          @Param("userName") String userName,@Param("phone") String phone,@Param("memberType") String memberType,
                                          @Param("startTime") String startTime,@Param("endTime") String endTime,
                                          @Param("isDelete") String isDelete,@Param("isCheck") String isCheck);
    Integer getCount();
    Integer getCounts(@Param("userId") String userId,
                      @Param("userName") String userName,@Param("phone") String phone,@Param("memberType") String memberType,
                      @Param("startTime") String startTime,@Param("endTime") String endTime,
                      @Param("isDelete") String isDelete,@Param("isCheck") String isCheck);
}
